import instance from "./request";

// 添加轮播图
export function addswiperFn(data) {
    return instance({
        url: '/banner/add',
        method: 'post',
        data
    })
}

// 轮播图列表数据
export function getswiperlistFn(data) {
    return instance({
        url: '/banner/list',
        method: 'get',
        params: data
    })
}

// 删除图片接口
export function delswiperFn(data) {
    return instance({
        url: '/banner/delete',
        method: 'get',
        params: data
    })
}